package com.solo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/*
 * FileName: HelloController.java
 * Description: 处理Web请求并返回相应的视图页面
 * Author:   woolflighthouse@163.com
 * Date:     2025-11-21 22:47
 */
@Controller
public class HelloController {
    @GetMapping("/")
    public String home() {
        // 映射到路径所在的页面，即：
        // src/main/resources/templates/hello.html
        return "hello";
    }
}
